import QtQuick
import "../common"
import "../../communication"

Item{

    width: 800
    height:600

    Column{
        spacing: 10
        anchors{
            horizontalCenter: parent.horizontalCenter
            bottom:parent.bottom
            bottomMargin: 60
        }



        UIButton{
            text:"开始游戏"
            width: 120
            height:30
            onClicked: {
                EventBus.uiState.currentMenu = "开始游戏"
            }
        }

        UIButton{
            text:"仓库"
            width: 120
            height:30
            onClicked: {
                EventBus.uiState.currentMenu = "仓库"
            }
        }

        UIButton{
            text:"商城"
            width: 120
            height:30
            onClicked: {
                EventBus.uiState.currentMenu = "商城"
            }
        }

        UIButton{
            text:"退出"
            width: 120
            height:30
            onClicked: {
                EventBus.quitApp()
            }
        }
    }
}
